package com.kavin.design.template;

public class Pig extends Animal {


    @Override
    void eat() {
        System.out.println("吃猪食");
    }

    @Override
    void sleep() {
        System.out.println("睡猪窝");
    }
}